From 5af44458b77cfcb089084a6658281d27698bde6e Mon Sep 17 00:00:00 2001 From: justbur Date: Fri, 3 Jul 2015 13:07:07 -0400 Subject: [PATCH] Try to hide cursor --- which-key.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/which-key.el b/which-key.el index 451b7f0886f..cc0c772d692 100644 --- a/which-key.el +++ b/which-key.el @@ -26,7 +26,7 @@ "Delay (in seconds) for which-key buffer to popup.") (defvar which-key-close-buffer-idle-delay 4 "Delay (in seconds) after which buffer is forced closed.") -(defvar which-key-max-description-length 30 +(defvar which-key-max-description-length 27 "Truncate the description of keys to this length (adds \"..\")") (defvar which-key-key-replacement-alist @@ -187,7 +187,8 @@ Finally, show the buffer." (goto-char (point-min)) (which-key/replace-strings-from-alist which-key-general-replacement-alist) - (goto-char (point-max))) + (setq-local cursor-type nil) + (setq-local cursor-in-non-selected-windows nil)) (setq which-key--window (which-key/show-buffer (which-key/buffer-height line-breaks) buffer-width)) -- 2.30.2